package com.smallstep.hystrix.annotation;

import java.lang.annotation.*;

@Target({ElementType.METHOD})
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface FFHystrixFallback {

    String service() default "";

    String[] pathPatterns() default {};

    boolean responseTypeSensitive() default true;

    int priority() default 0;

    boolean circuitBreakerEnabled() default false;

    int circuitBreakerErrorThresholdPercentage() default 50;

    int circuitBreakerRequestVolumeThreshold() default 20;

    int circuitBreakerSleepWindowInMilliseconds() default 5000;
}
